const getters = {
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  id: state => state.user.id,
  name: state => state.user.name,
  roles: state => state.user.roles,
  permissions: state => state.user.permissions,
  dept: state => state.user.dept,
  company: state => state.user.company,
  postName: state => state.user.postName,
  spaceName: state => state.user.spaceName,
}
export default getters
